package com.dl.study.module.user.strategy.handler;

import com.dl.study.module.user.domain.dto.UserDto;
import com.dl.study.module.user.strategy.anno.OrderTypeHandlerAnno;
import com.dl.study.module.user.strategy.userenum.UserTypeEnum;
import org.springframework.stereotype.Component;

/**
 * @Author: user
 * @Date: 2021/11/4 14:39
 * @Description:
 */
@Component
@OrderTypeHandlerAnno(UserTypeEnum.Group)
public class GroupOrderHandler implements AOrderTypeHandler {
    @Override
    public String handler(UserDto dto) {
        return "处理团队订单";
    }
}
